package com.jf3q.sup.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jf3q.sup.domain.SalesOrders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jf3q.sup.dto.SalesOrdersDto;
import com.jf3q.sup.vo.SaleShowIndexVo;
import com.jf3q.sup.vo.SalesOrdersVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 *
 */

public interface SalesOrdersService extends IService<SalesOrders> {

    IPage<SalesOrdersVo> pages(SalesOrdersDto salesOrdersDto, Integer pageNum);


    void addOrUpdate(SalesOrdersDto salesOrdersDto);

    void del(Integer[] ids);

    SalesOrdersVo getOrders(Integer id);

    List<SaleShowIndexVo> getSaleShow(String time);
}
